package com.bot.nft.module.dc.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bot.common.mybatis.core.BaseMapperPlus;
import com.bot.nft.module.dc.domain.DcBillLog;
import com.bot.nft.module.dc.domain.vo.DcBillLogVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author RenXiaoZheng
 * @since 2024-01-24
 */
public interface DcBillLogMapper extends BaseMapperPlus<DcBillLogMapper, DcBillLog, DcBillLogVo> {

    //查询藏品交易账单
    Page<DcBillLogVo> selectDcBillLog(@Param("type") Integer type, Page page);

    //查看藏品交易账单信息
    DcBillLogVo queryDcBill(String id);

    //导出会员藏品
    List<DcBillLogVo> exportDcBill(@Param("type") Integer type, @Param("start") Date billTime, @Param("end") Date endTime);


}
